<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Title</title>
    <script src="../js/vue.js"></script>
</head>

<body>
    <div id="app">
        {{message}}
    </div>

    <script>
        const vm = new Vue({
            el: '#app',
            data: {
                message: '我是你爹!'
            },
            methods: {}
        });
    </script>


    <script>
        //1、参数问题：
        //1.1放入两个参数
        const sum = (num1, num2) => {
            return num1 + num2;
        }

        //1.2放入一个参数
        const pwer = (num) => {
            return num * num;
        }

        //2、函数中的代码数量
        const test = () => {
            //1、答应hello Word
            console.log("你好世界!");
            //2答应hell word
            console.log("hello word");
        }
    </script>
</body>

</html>